package com.alan.wifishare.view.iview;

import com.alan.libapi.model.business.UserToken;
import com.alan.libapi.model.persistent.ModifyPwdType;

/**
 * @className: IVUserVerifyIdentity
 * @describtion: IVUserVerifyIdentity
 * @author: AlanWang
 * @email: 850267876@qq.com
 * @time: 2016/5/5 19:00
 */
public interface IVUserVerifyIdentity extends IVProgressView {

    /**
     * 获取修改的密码类型
     * @return
     */
    ModifyPwdType getModifyType();

    /**
     * 从控件获取注册手机号
     * @return
     */
    String getUserPhone() ;

    /**
     * 获取验证码
     * @return
     */
    String getVerifyCode() ;

    /**
     * 获取验证码成功
     */
    void getVerifyCodeSuccess();

    /**
     * 身份验证成功
     * @param token
     */
    void verifySuccess(UserToken token);
}
